package com.enki.cigarettes.repository;

import com.enki.cigarettes.entity.ActivityT;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * @author WCS.Wang
 * @version V1.0
 * @Package com.enki.cigarettes.repository
 * @Name e-cigarettes-shop-api-module
 * @Description: TODO 活动数据层
 * @date 2019-07-28
 */
public interface ActivityTRepository extends PagingAndSortingRepository<ActivityT, String> {

    List<ActivityT> findByRemoved(boolean removed);

    ActivityT findOneByIdAndRemoved(String id, boolean removed);

}
